<?php
	//----------------------- INPUT ELEMENTS -------------------//
	 
	$ssFilter 		= $this->arrParam['ssFilter'];
	$selectLanguages = $ssFilter['lang_code'] . $this->formHidden('lang_code',$ssFilter['lang_code']);
	
	
	//var_dump($this->slbClb);die;
	$this->slbClb[0] = 'Chọn câu lạc bộ';
	
	ksort($this->slbClb);
	
	$selectClb		= $this->formSelect('id_clb',$this->Item['id_clb'],array('size'=>0,'style'=>'min-width:200px;'),$this->slbClb);
	
	
	$content 		= $this->cmsEditor('content',htmlspecialchars_decode($this->Item['content']),array('toolbar'=>'MyToolbar', 'language'=>'vi'));
	
	$arrInput = array(
				array('label' => 'Chọn Câu Lạc bộ','input' => '<div id="id_clb">' . $selectClb . '</div>'),
			);
	
	$tiento = $this->Item['code'];
	$name 	= $this->Item['name'];
	$idkh 	= $this->Item['id'];
	$email 	= $this->Item['email'];
	$phone 	= $this->Item['phone'];
	$birthday 	= $this->Item['birthday'];

	//-------------------- SESSAGES ERROR ------------------
	if(count($this->messageError)>0){
		$errors = $this->formErrors($this->messageError,array('id'=>'errors'));
	}
?>


<div class="left_content">
	<?php echo $this->render($this->arrParam['controller'] . '/toolbar/left.php');?>
</div>


<div class="right_content" style="background: #fff !important;">
	<div class="block_breadcrumb">
		<?php echo $this->blkBreadcrumbs('default'); ?>
	</div>
	<div class="appContent">
		<?php echo $this->render('admin-sinhhoatclb/toolbar/index.php');?>
	 	<div class="clr"></div>
		<?php echo $this->render('admin-sinhhoatclb/sublink/index.php');?>
		<?php echo $errors;?>

	<form name="appForm" method="post" action="" enctype="multipart/form-data">
	 
	<div class="tblForm">
	
		<!-- BEGIN: CONTENT -->
		<div class="app_content goc10">
			<div class="width-60 fl">
				<div class="adminform" style="padding:20px 0px 0px 50px;">
					<legend>Thông tin cá nhân</legend>
					<div class="fl">
						<table>
						<tr>
						<td width="100px;">Họ Tên :</td>
						<td><?php echo $name;?></td>
						</tr>
						<tr>
						<td>Ngày sinh : 
						<td><?php echo $birthday;?></td>
						</tr>
						<tr>
						<td>Email : 
						<td><?php echo $email;?></td>
						</tr>
						<tr>
						<td>ID Khách hàng: 
						<td><?php echo $tiento.''.$idkh;?></td>
						</tr>
						</table>
						<br/>
						<br/>
						
						<p><b>Câu lạc bộ đăng ký tham gia:</b></p>
						<br/>
						<table class="">
							<?php echo $this->partialLoop('row.php', $arrInput);?>
						</table>
					</div>
				</div>
			</div>
			
			<div class="clr"></div>
		</div>
		<!-- END: 	CONTENT -->
		</div> 
	</form>
	</div></div>